Java Program to Calculate LCM (Least Common Multiple) of Numbers